# docker build --add-host ftp.x:172.26.23.175 -t seawenc/datax:202308 .
# docker build --add-host ftp.x:192.168.255.1 -t seawenc/datax:202308 .
FROM seawenc/centos7fat:1.5

RUN cd /opt/app && \
    wget -c http://ftp.x:12/bigdata/software/datax/datax.tar.gz && \
    tar -zxvf datax.tar.gz && \
    rm datax.tar.gz \

# fixme 需要删除多余的插件

ENV PATH=$PATH:/opt/app/datax/bin



WORKDIR /opt/app/datax
